package com.example.myrecyclerview501zh.service;

import com.example.myrecyclerview501zh.bean.UserBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by 张浩 on 2017/5/25.
 */

public interface LoginService {
    @GET( "api.php/login")
    Call<UserBean> getLogin(@Query( "username") String username,
                         @Query( "password") String password);
}
